/**
 * 
 */
package com.p2p.front.service;

import java.util.List;

import com.p2p.front.dal.model.SysConfig;

/**
 * @author ruiqi
 *
 */
public interface SysConfigService {
	
	public String notifySubject = "sysConfigNotify";

	public List<SysConfig> queryAll();
	
	public SysConfig getByKey(SysConfig.ConfigKeyEnum configKey);
	
	public String getValueByKey(SysConfig.ConfigKeyEnum configKey);
	
	public String getValueFromLocalCache(SysConfig.ConfigKeyEnum configKey);
	
	public void save(SysConfig sysConfig);
	
	public void refresh();
}
